package com.xiangxiao.rpan.storage.service.impl;

import com.xiangxiao.rpan.storage.entity.FileItemResult;
import com.xiangxiao.rpan.storage.enums.StorageTypeEnum;
import com.xiangxiao.rpan.storage.param.FtpParam;
import com.xiangxiao.rpan.storage.service.AbstractBaseFileService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auther xiangxiao
 * @email 573768011@qq.com
 * @data 2023/11/9 19:48
 */
@Service
public class FtpFileServiceImpl extends AbstractBaseFileService<FtpParam> {
  @Override
  public void init() {

  }

  @Override
  public List<FileItemResult> fileList(String folderPath) throws Exception {
    return null;
  }

  @Override
  public String getDownloadUrl(String pathAndName) {
    return null;
  }

  @Override
  public StorageTypeEnum getStorageTypeEnum() {
    return StorageTypeEnum.FTP;
  }

  @Override
  public FileItemResult getFileItem(String pathAndName) {
    return null;
  }

  @Override
  public boolean newFolder(String path, String name) {
    return false;
  }

  @Override
  public boolean deleteFile(String path, String name) {
    return false;
  }

  @Override
  public boolean deleteFolder(String path, String name) {
    return false;
  }

  @Override
  public boolean renameFile(String path, String name, String newName) {
    return false;
  }

  @Override
  public boolean renameFolder(String path, String name, String newName) {
    return false;
  }

  @Override
  public String getUploadUrl(String path, String name, Long size) {
    return null;
  }
}
